package com.ruoyix.flowable.domain.bo;

import com.ruoyix.common.core.validate.AddGroup;
import com.ruoyix.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 流程表单业务对象 bpm_form
 *
 * @author ruoyi
 * @date 2023-11-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BpmFormBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 表单标识
     */
    @NotBlank(message = "表单标识不能为空", groups = { AddGroup.class, EditGroup.class })
    private String formKey;

    /**
     * 表单名称
     */
    @NotBlank(message = "表单名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String formName;

    /**
     * 状态（0停用1正常）
     */
    private String status;

    /**
     * 表单option信息
     */
    private String formOption;

    /**
     * 表单fields信息
     */
    private String formFields;

    /**
     * 备注
     */
    private String remark;



}
